<template>
  <div class="q-pa-md example-row-horizontal-alignment">
    <t-badge>justify-start</t-badge>
    <div class="row justify-start">
      <div class="col-4"> One of two cols </div>
      <div class="col-4"> One of two cols </div>
    </div>

    <t-badge>justify-center</t-badge>
    <div class="row justify-center">
      <div class="col-4"> One of two cols </div>
      <div class="col-4"> One of two cols </div>
    </div>

    <t-badge>justify-end</t-badge>
    <div class="row justify-end">
      <div class="col-4"> One of two cols </div>
      <div class="col-4"> One of two cols </div>
    </div>

    <t-badge>justify-around</t-badge>
    <div class="row justify-around">
      <div class="col-4"> One of two cols </div>
      <div class="col-4"> One of two cols </div>
    </div>

    <t-badge>justify-between</t-badge>
    <div class="row justify-between">
      <div class="col-4"> One of two cols </div>
      <div class="col-4"> One of two cols </div>
    </div>

    <t-badge>justify-evenly</t-badge>
    <div class="row justify-evenly">
      <div class="col-4"> One of two cols </div>
      <div class="col-4"> One of two cols </div>
    </div>
  </div>
</template>

<style lang="sass">
  .example-row-horizontal-alignment
    .row
      background: rgba(#aa0, .1)
    .row > div
      padding: 10px 15px
      background: rgba(#999,.15)
      border: 1px solid rgba(#999,.2)
    > div + div
      margin-top: 1rem
</style>
